package com.parksys.service.impl;

import com.parksys.dao.PositionDao;
import com.parksys.service.PositionService;
import com.parksys.vo.Position;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author KENANS
 * @date 2020-9-15 16:39
 * @Version 1.0
 */
@Service
public class PositionServiceImpl implements PositionService {
    @Autowired
    private PositionDao positionDao;
    @Override
    public List<Position> findP(Integer pid) {

        return positionDao.findP();
    }

    @Override
    public void addP(Integer pid) {
        positionDao.addP(pid);
    }
}
